package com.ebupt.migu.music.api.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.ebupt.migu.music.api.entity.CmsUpdateNotice;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2019/10/18
 */
@Mapper
@DS("mysql_mg")
public interface CMSNoticeMapper {

    /**
     * cms通知门户（咪咕运营服务云）活动列表有更新
     * 系统保存更新详情
     *
     * @param cmsUpdateNotice
     */
    void updateNotice(CmsUpdateNotice cmsUpdateNotice);

    List<CmsUpdateNotice> notRuns();

    void update(CmsUpdateNotice cmsUpdateNotice);

}
